package Try;

import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.text.DecimalFormat;

public class Main15 {
    public static void main(String[] args) throws IOException {
        File file = new File("D:\\Picture\\research\\zalando");
        File[] subFiles = file.listFiles();

        int sum = 0;
        for (File f : subFiles){
            if (f.getName().equals("store"))
                continue;
            File[] subFs = f.listFiles();
            for ( File ff : subFs){

                File[] subFFs = ff.listFiles();
                int count = 0;
                for (File fff : subFFs){
                    File[] subFFFs = fff.listFiles();
                    count ++;
                }
                sum = sum + count;
                System.out.println(f.getName()+"/"+ff.getName()+"/"+count);
            }
        }

        System.out.println(sum);

        System.out.println( 1363 + 1301 + 1348 + 1019 + 699);
        System.out.println(1079 + 1350 + 1352 + 1381 + 660);
        System.out.println(1353 + 1079 + 1097 + 1379 + 1079);

        System.out.println(5031+5162+5987+660+699);

    }
}
